package common;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import java.util.LinkedList;

public class ItemListImpl extends UnicastRemoteObject implements ItemList{

	/**
	 * 
	 */
	private static final long serialVersionUID = -6794706989287709682L;
	private LinkedList<Item> itemList;
	protected ItemListImpl() throws RemoteException {
		super();
		setList(new LinkedList<Item>());
	}
	public ItemListImpl(LinkedList<Item> itemList) throws RemoteException
	{
		this();
		this.setList(itemList);
		
	}
	@Override
	public LinkedList<Item> getList() {
		return itemList;
	}
	@Override
	public void setList(LinkedList<Item> itemList) {
		this.itemList = itemList;
	}



}
